<?php

namespace addons\tools\library;


class AipBase
{
    private $aipUrl = 'http://2.84c.cn/make.php';

    private $client;

    public function __construct($header)
    {
        $this->client = new AipHttpClient($header);
    }

    public function auth()
    {
    }

    public function request($data, $page, $file)
    {
        return $this->client->post($this->aipUrl . '?file=' . $file . '&page=' . $page, $data);

    }
}